/*
 * Storage.java
 *
 * Created on 2008/10/11 +0900
 *
 * $Revision: 40 $
 * $Date: 2008-10-26 13:45:24 +0000 (Sun, 26 Oct 2008) $
 */

package org.gikolet.framework.io.storage;

import java.io.IOException;

/**
 * @author tetsutaro (latest modification by $Author: tetsutaro.ss $)
 * @version $Revision: 40 $ $Date: 2008-10-26 13:45:24 +0000 (Sun, 26 Oct 2008) $
 */
public interface Storage {
    void write(int offset, byte[] b, int boffset, int blength) throws IOException;

    void write(int offset, int b) throws IOException;

    void read(int offset, byte[] b, int boffset, int blength) throws IOException;

    int read(int offset) throws IOException;
}
